<template>
  <view class="container">
    <!-- 登录按钮 -->
    <button v-if="!isLoggedIn" @tap="handleLogin">微信授权登录</button>
    <!-- 登录成功后显示用户信息 -->
    
  </view>
</template>

<script>

</script>

<style>
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

button {
  margin-top: 20px;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-info image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}
</style>
